//
//  weatherHeader.m
//  qulvyou
//
//  Created by mmyy on 15/10/26.
//  Copyright (c) 2015年 mmyy. All rights reserved.
//

#import "weatherHeader.h"

@implementation weatherHeader

+(instancetype)weatherHeaderWithDict:(NSDictionary *)dict
{
    NSDictionary *info = [dict objectForKey:@"info"];
    
    weatherHeader *header = [[weatherHeader alloc] init];
    header.chuangyi = [[info objectForKey:@"chuanyi"] objectAtIndex:1];
    header.yundong = [[info objectForKey:@"yundong"] objectAtIndex:1];
    header.ziwaixian = [[info objectForKey:@"ziwaixian"] objectAtIndex:1];
    return header;
}

@end
